<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>优惠券产品</title>
<meta name="decorator" content="default" />
<meta name="full-screen" content="yes">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">

<jsp:include page="/static/member/themes/default/header.jsp" />

<script type="text/javascript">
	
		
		$(document).ready(function() {
			setValues();
			
		});
		
		function setValues(){
			var value = $('#product').val();
			var varlueArray = value.split("-");
			$('#exchangeId').val(varlueArray[0]);
			$('#score').val(varlueArray[1]);
			$('#proName').val(varlueArray[2]);
		}
		
		
	</script>
	<style type="text/css">
	.border_red{ border-bottom:2px solid #ef4377;}
.border_red_1{ border-bottom:1px #ef4377 solid; margin:1em;}
	
	
	</style>
	

    </head>
     <%
           long token=System.currentTimeMillis();    //产生时间戳的token
            session.setAttribute("token",token);   
          
    %>
    
    <body  class="ui-mobile-viewport ui-overlay-a">
        
        <div  data-role="page"  id="dd"  data-theme="a"  data-url="dd"  tabindex="0"  class="ui-page ui-body-a ui-page-header-fixed ui-page-active"  style="padding-top: 39px;">
         
            <form id="inputForm" action="${ctxFront}/member/coupon?uid=${uid}" method="post">
			<input	type="hidden" name="wechatId" value="${wechatId }" />
			<input	type="hidden" name="style" value="${style }" />
			
			
			<input	type="hidden" name="couponConfigID" id="proName" value="${couponConfig.id }"/>
			
			
			
			<input	type="hidden" name="couponToken"  value="<%=token %>${couponConfig.id }"/>
			
		<input	type="hidden" name="style" value="${style}"/>
            <div  class="p10 ui-content"  data-role="content"  role="main">
                <div  id="slider"  class="swipe"  style="max-width: 300px; margin: 0px auto; visibility: visible;">
                    <div  class="swipe-wrap"  style="text-align: center;">
                        <div>
                            <img   style="width:75%;"  src="${ctxUser}/score/${couponConfig.showPic}"  alt="${couponConfig.name } "  onerror="this.src='${ctxStatic}/images/zanwutupian.jpg'">
                        </div>
                    </div>
                </div>
                                <div  class="ywch_bg2 fz18"  style="height: auto; line-height: 2em; font-size: 1.2em;
                margin-bottom: 10px; font-weight: bold;">
                    产品名称：${couponConfig.name }  <br>
                    <c:if test="${couponConfig.remarks ne null&&couponConfig.remarks ne '' }">使用说明：${couponConfig.remarks }     <br></c:if>
                    
                   </div>
                <div  class="border_red"  style="position: relative; z-index: 1;">
                </div>
            </div>
            <div align="center" style="margin-top: 20px;">
          <input id="btnSubmit"  type="submit" class="btn btn-danger"
										value="确定" />
            </div>
            
            </form>
        </div>
        

</body>
</html>